package com.weichat.service;

import com.weichat.dto.OrderDTO;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

/**
 * Created with IntelliJ IDEA
 * Created By HZP
 * Date: 2018/6/7
 * Time: 23:03
 */
public interface OrderService {

   public OrderDTO create(OrderDTO orderDTO);

   public OrderDTO findOne(String orderId);

   Page<OrderDTO> findList(String buyerOpen, Pageable page);

   OrderDTO cancle(OrderDTO orderDTO);

   OrderDTO finish(OrderDTO orderDTO);

   OrderDTO pay(OrderDTO orderDTO);
}
